package com.mrjy.activity.bo;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import com.mrjy.activity.dto.ActivityDTO;
import com.mrjy.activity.dto.ActivityInfoDTO;
import com.mrjy.activity.dto.ActivitySelectDTO;
import com.mrjy.common.entity.ActivityInfo;

public interface IActivityInfoBo {
	
	/**
	 * 添加活动后台
	 * @param session 
	 * @param ActivityInfo
	 */
	public Object txInsert(ActivityInfo activityInfo);
	
	/**
	 * 编辑活动
	 * @param activityInfo
	 * @return
	 */
	public Object txUpdate(ActivityInfo activityInfo);

	public Object queryPageBack(ActivitySelectDTO selectDTO);

	public Object export(ActivitySelectDTO selectDTO, HttpServletResponse response);

	public Object queryPage(HttpSession session, Integer page, Integer rows);

	public Object queryById(HttpSession session, Integer activityId);

	public Object queryLivePage(Integer page, Integer rows);

	public Object txDeleteByIds(int[] ids);

	public Object txUpdateDisableFlag(ActivityInfo info);

	public ActivityInfoDTO queryActivityById(int activityId);

	
}
